@inject('goodsService','App\Interfaces\GoodsService')

<html>
<head>
    <meta charset="UTF-8">

    <meta name="robots" content="noindex,nofollow">
    <meta name="googlebot" content="noimageindex">

    <meta name="copyright" content="">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=yes">
    <meta name="format-detection" content="email=no">

    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="csrf-token" content="{{ csrf_token() }}" />
    <title>商品详情</title>

    <style type="text/css">
        html, body {
            width: 100%;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }

        body {
            text-align: center;
        }

        img {
            width: 100% !important;
            height: auto !important;
        }
    </style>
</head>
<body>
<?php $goods = $goodsService->get($id);?>
@if ($goods)
    {!! html_entity_decode($goods->goods_content)  !!}
@else
    <p>&nbsp;</p>
    <h1>您所访问的商品不存在</h1>
@endif

</body>
</html>
